﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using MockPrjTeam4.DAO;
using MockPrjTeam4.Entity;

namespace MockPrjTeam4.Biz
{
    public class SupportingMaterialBiz
    {
        public static SupportingMaterial GetSupportingMaterialById(int id)
        {
            return SupportingMaterialDAO.GetSupportingMaterialById(id);
        }

        public static DataTable GetTableSupportingMaterial(bool inActive)
        {
            return SupportingMaterialDAO.GetTableSupportingMaterial(inActive);
        }

        public static bool AddSupportingMaterial(SupportingMaterial sm)
        {
            return SupportingMaterialDAO.AddSupportingMaterial(sm);
        }

        public static bool EditSupportingMaterial(SupportingMaterial sm)
        {
            return SupportingMaterialDAO.EditSupportingMaterial(sm);
        }
    }
}